﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="ProgFisico.aspx.vb" Inherits="Devida_PoaActividadFisica" Theme="Yahoo-Ocean"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

     <base target="_self" />
<link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
   <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
   <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />
    
    <script language="javascript" src="../Script/PrintScript.js" type="text/javascript"> </script>
    <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
         function AcceptNum(evt) {
             var nav4 = window.Event ? true : false;
             var key = nav4 ? evt.which : evt.keyCode;
             return (key <= 13 || key == 46 || (key >= 48 && key <= 57) || key == 44);
         }        
    </script>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 9px;
        }
        </style>     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">
<asp:Label ID="lb_name" runat="server" Font-Names="Arial" Font-Size="17px" ForeColor="white" Text="Programación física" Font-Bold="True" ></asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <table cellpadding="0" cellspacing="0" width="1000px" style="border: 1px solid #295EAB;
            text-align: left; color: #FFFFFF;" bgcolor="#009933">
               <tr>
                   <td class="btn" align="left" 
                style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; height: 25px; font-size: medium;" 
                bgcolor="#009933">                                              
                        <asp:Label ID="lblNomProyAct" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white" Text="" Font-Bold="True" >   </asp:Label>   <br/>                  
                        <asp:Label ID="lblNomEjecutor" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white" Text="" Font-Bold="True" >   </asp:Label>  <br/>                   
                        <asp:Label ID="lblPoa" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white" Text="" Font-Bold="True" >   </asp:Label>                     
                   </td>         
                </tr>
            </table>

   <table cellpadding="0" cellspacing="0" style="width: 1000px; height: 300px;">
       <tr>
              <td>
                               <div   style="border: solid 1px #99aabd; width: 1000px; height: 300px; overflow: auto;"
                                    align="center">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" Width="1000px">
                            <ContentTemplate>
                            <asp:GridView ID="gv_progfisico" runat="server" AutoGenerateColumns="False" 
                                   CellPadding="0" CssClass="grid" Font-Size="10pt"  Width="1200px" GridLines="None">
                                            <Columns>
                                                <asp:BoundField DataField="COMPONENTE" ItemStyle-Width="120px" HeaderText="COMPONENTE"  ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField DataField="CODIGO" ItemStyle-Width="30px" HeaderText="COD"  ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField HeaderText="TAREA" DataField="TAREA" ItemStyle-Width="250px" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField HeaderText="UNIDAD" DataField="UNIDAD" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField HeaderText="ENE" DataField="META_01" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="FEB" DataField="META_02" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="MAR" DataField="META_03" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="ABR" DataField="META_04" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="MAY" DataField="META_05" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="JUN" DataField="META_06" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="JUL" DataField="META_07" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="AGO" DataField="META_08" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="SET" DataField="META_09" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="OCT" DataField="META_10" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="NOV" DataField="META_11" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="DIC" DataField="META_12"  ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="META ANUAL" DataField="META_ANUAL" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="PESO" DataField="PESO" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:CommandField ShowSelectButton="True" Visible="False" ItemStyle-HorizontalAlign="Right" />                                        
                                            </Columns>
                                            <SelectedRowStyle BackColor="#5BADFF" Font-Bold="True" ForeColor="#333333" />
                                            <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                                            <PagerStyle Font-Names="Verdana" Font-Size="10px" Wrap="False" />
                                            <RowStyle BackColor="White" ForeColor="#333333" />
                                        </asp:GridView>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        </div>
                        <div   id="print_area"  style="width: 100%; display: none;" >                                    
                      <table width ="100%">
                        <tr> 
                        <td align="center" style="font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold;">
                       Programación Física 
                       </td> 
                       </tr>
                        <tr> 
                        <td>&nbsp;</td>   
                         <td>&nbsp;</td>
                       </tr>
                       <tr>
                         <td>        
                        <asp:Label ID="lblPoa1"  runat="server" align="left" Font-Names="Arial, Helvetica, sans-serif"
                                 Font-Size="11px" ForeColor="black"  
                                 Font-Bold="false"></asp:Label>
                          </td>
                       </tr>
                         <tr> 
                        <td>&nbsp;</td>   
                         <td>&nbsp;</td>
                          </tr>
                           
                      </table>     
                                    
                   
                                    <asp:UpdatePanel ID="UpdatePanel2" runat="server" Width="900px">
                            <ContentTemplate>
                            <asp:GridView ID="gv_doc" runat="server" AutoGenerateColumns="False" 
                                   CellPadding="4" CssClass="grid" Font-Size="10pt"  Width="1200px" GridLines="both" BorderColor="black" >
                                        <RowStyle  Font-Names ="Arial, Helvetica, sans-serif "  Font-Size ="11px" />                                
                                            <Columns>
                                                <asp:BoundField DataField="COMPONENTE" ItemStyle-Width="300px" ItemStyle-Font-Size="8pt" HeaderText="Componente" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField HeaderText="Tarea" DataField="TAREA" ItemStyle-Width="300px" ItemStyle-Font-Size="8pt" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField HeaderText="Unidad" DataField="UNIDAD" ItemStyle-Width="80px" ItemStyle-Font-Size="8pt" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top" />
                                                <asp:BoundField HeaderText="Ene" DataField="META_01" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Feb" DataField="META_02" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Mar" DataField="META_03" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Abr" DataField="META_04" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="May" DataField="META_05" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Jun" DataField="META_06" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Jul" DataField="META_07" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Ago" DataField="META_08" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Set" DataField="META_09" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Oct" DataField="META_10" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Nov" DataField="META_11" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Dic" DataField="META_12" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:BoundField HeaderText="Meta Anual" DataField="META_ANUAL" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" DataFormatString="{0:N2}" />
                                                <asp:CommandField ShowSelectButton="True" Visible="False" ItemStyle-HorizontalAlign="Right" />                                        
                                            </Columns>
                                            <SelectedRowStyle BackColor="#5BADFF" Font-Bold="True" ForeColor="#333333" />
                                            <PagerStyle Font-Names="Verdana" Font-Size="8px" Wrap="False" />
                                            <RowStyle BackColor="White" ForeColor="#333333" />
                                        </asp:GridView>

                            </ContentTemplate>
                        </asp:UpdatePanel>
                                </div>
                                 
             </td>
       </tr>
   </table>      
  <table width="900px">
                <tr>
                    <td width="120px"><img id="btnImprimir" runat="server" src="../Imagenes/btnImprimir.png" title="Imprimir Programacion Fisica" style="cursor:hand" alt="" onclick="getPrint('print_area')"/>  </td>
                    <td width="260px">&nbsp;</td>
                    <td width="120px">&nbsp;</td>
                    <td width="260px">&nbsp;</td>
                    <td width="120px">&nbsp;</td>
                    <td width="260px">&nbsp;</td>
                    <td width="40px"  align="right"><asp:ImageButton ID="btn_salir" ToolTip="Salir." runat="server" Height="23px" align="right" ImageUrl="~/Imagenes/btnSalir.png" /></td>
                </tr>
            </table>
</asp:Content>

